﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MemLogin.aspx.cs" Inherits="MemLogin" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
<link rel="stylesheet" type="text/css" href="style/base.css" />
    <link rel="stylesheet" type="text/css" href="style/admin-all.css" />
    <link rel="stylesheet" type="text/css" href="style/bootstrap.min.css" />
    <script src="js/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript">
        function FindPwd()
        {
            var userid = document.getElementById("txtMobile").value;
            if (userid == "")
            {
                alert("请输入用户名，再找回密码！");
            }
            javascript: window.open("FindPassword.aspx?userId="+userid, "_blank")
        }
    </script>

     
</head>
<body style="background-image: url(/img/memlogo.jpg);text-align:center">
    <form id="form1" runat="server">
              <table class="gridtable" cellspacing="0" border="0" style="width: 100%; border-collapse: collapse;">
                    <tbody>
                              <tr>
                            <td align="left" style="color: red;height: 130px;" colspan="2"> </td>
                        </tr>
                        <tr>
                            <td align="center" style="color: red;" colspan="2"><asp:Literal ID="errorTip" runat="server"></asp:Literal> </td>
                        </tr>
                        <tr  style="padding-top: 30px">
                            <td width="35%" align="right">
                                <span style="border: 0;color: #FFD306">帐&nbsp;&nbsp;&nbsp;号:&nbsp;&nbsp;</span>
                            </td>
                            <td width="65%" align="left">
                                <asp:TextBox ID="txtMobile" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                         <tr>
                            <td align="left" style="color: red;height: 8px;" colspan="2"></td>
                        </tr>
                        <tr style="padding-top: 30px">
                            <td align="right">
                               <span style="border: 0;color: #FFD306">密&nbsp;&nbsp;&nbsp;码:&nbsp;&nbsp;</span>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" style="color: red;height: 8px;" colspan="2"></td>
                        </tr>
                        <tr style="padding-top: 30px">
                            <td align="right">
                               <span style="border: 0;color: #FFD306">验证码:&nbsp;&nbsp;</span>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="TxtCode" runat="server" MaxLength="4" Width="100px"></asp:TextBox> <img src="/Member/VerifyCode.aspx" id="GetCodePic" cssclass="yzm-img" alt="验证码,点击可刷新验证码" onclick="this.src=this.src+'/Member/VerifyCode.aspx'" />
                            <script language="JavaScript" type="text/javascript">
                                document.getElementById("GetCodePic").src = "/Member/VerifyCode.aspx?rnd=" + Math.random();
                            </script>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;
                            </td>
                            <td align="left">
                                <asp:Button ID="login_in_sumbit" runat="server" Text="会员登录"  CssClass="btn btn-primary btn-large login" OnClick="login_in_sumbit_Click"/><%--javascript:location.href = 'FindPassword.aspx'--%>
                               &nbsp;&nbsp;&nbsp; <%--<input id="Button1" type="button" value="忘记密码" class="btn btn-primary btn-large login" onclick="javascript: window.open('FindPassword.aspx?userId=0000', '_blank') " />--%>
                                 <input id="Button1" type="button" value="忘记密码" class="btn btn-primary btn-large login" onclick="FindPwd()" />
                            </td>
                        </tr>
                    </tbody>
               
                </table>                                                     
    </form>
</body>
</html>
